package xjtu.se.articlecommunity.admin.login;

import xjtu.se.articlecommunity.admin.login.dto.Mail;
import xjtu.se.articlecommunity.admin.login.dto.Tel;
import xjtu.se.articlecommunity.admin.login.dto.Admin;

public interface AdminLoginService {

    boolean loginByPwd(Admin admin);

    boolean checkMail(String mail);

    Admin getInfoByMail(Mail mail);

    boolean checkTel(String tel);

    Admin getInfoByTel(Tel tel);

}
